Skip to content

#414 - Deprecate listing a task several times in the outputs or the error outputs of a task - #415

Merged
njoubert-cleverage merged 1 commit into
mainfrom
414
Nov 3, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
414

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #414.

When a process configuration is resolved, ProcessConfigurationRegistry triggers a 5.7 deprecation for each task listed several times in the outputs or the error_outputs (or deprecated errors) of a task. The message names the duplicated task, the key, the task and the process. The behaviour is unchanged until v6.0: the task is still executed once per occurrence. In v6.0, an exception will be thrown.

Not handled (see the issue): the options of a task that does not declare any. A task implementing TaskInterface directly may read them itself, so they cannot be detected as unused.

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

None: deprecation only. UPGRADE.md gets a v5.7 section (the v5.7 section of #412 will need a merge).

🤖 Generated with Claude Code

@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 3, 2026 10:39
…rror outputs of a task

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage merged commit e919841 into main Nov 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A task listed several times in the outputs of a task is executed once per occurrence, silently

1 participant